package com.zxl.manager.service.impl;

import com.zxl.manager.dao.UserDao;
import com.zxl.manager.entity.User;
import com.zxl.manager.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by jimmy on 2017/8/12.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User getUserByName(String name) {
        return userDao.getUserByName(name);
    }
}
